public async Task <IActionResult> GetAll() { var result = await Mediator.Send(new GettAllProject.GetAllProjectRequest()); return(HandleResponse.Response(result)); }
public async Task <IActionResult> Delete(DeleteOwner.DeleteOwnerRequest ownerRequest) { var result = await Mediator.Send(ownerRequest); return(HandleResponse.Response(result)); }
public async Task <IActionResult> Createpost(CreatePost.CreatePostRequest create) { var result = await Mediator.Send(create); return(HandleResponse.Response(result)); }