Files
ProektstuZhenechka/TheCatHasPawsProject/CatHasPawsBusinessLogic/Implementations/PostBusinessLogicContract.cs

39 lines
732 B
C#

using CatHasPawsContratcs.BusinessLogicsContracts;
using CatHasPawsContratcs.DataModels;
using CatHasPawsContratcs.Enums;
namespace CatHasPawsBusinessLogic.Implementations;
internal class PostBusinessLogicContract : IPostBusinessLogicContract
{
public List<PostDataModel> GetAllPosts(bool onlyActive)
{
return [];
}
public List<PostDataModel> GetAllDataOfPost(string postId)
{
return [];
}
public PostDataModel GetPostByData(string data)
{
return new("", "", "", PostType.None, 0, true, DateTime.Now);
}
public void InsertPost(PostDataModel postDataModel)
{
}
public void UpdatePost(PostDataModel postDataModel)
{
}
public void DeletePost(string id)
{
}
public void RestorePost(string id)
{
}
}