public Unit Handle(DeleteBlogCommand input) { _context.Remove <Blog, int>(input.Id); return(Unit.Value); }
public Unit Handle(DeletePostCommand input) { _context.Remove <Post, int>(input.Id); return(Unit.Value); }