Return proper http status codes on delete

This commit is contained in:
2017-06-12 16:23:33 +03:00
parent 41991a68dd
commit 1249950059
3 changed files with 30 additions and 9 deletions

View File

@@ -14,7 +14,7 @@ namespace BL.Interfaces
FoorumDTO Add(FoorumDTO foorum);
FoorumDTO Update(FoorumDTO foorum);
void Hide(int id, bool hide=true);
void Delete(int id);
FoorumDTO Delete(int id);
void AddPost(int id, PostDTO post);
IEnumerable<FoorumDTO> SearchFoorumTitle(string query);