Exemple #1
0
 public BaseReply DeletePost(DeleteDomainObjectRequest <Guid> request)
 {
     return(ProcessRequest(
                () =>
     {
         Repository.Remove <Post, Guid>(request.Id);
     }));
 }
Exemple #2
0
 public BaseReply DeleteExceptionLog(DeleteDomainObjectRequest <Guid> request)
 {
     return(ProcessRequest(
                () =>
     {
         Repository.Remove <ExceptionLog, Guid>(request.Id);
     }));
 }