protected IActionResult Ok <T>(T result)
 {
     _unityOfWork.Commit();
     return(base.Ok(Envelope.Ok(result)));
 }
 protected IActionResult Error(string errorMessage)
 {
     return(base.BadRequest(Envelope.Error(errorMessage)));
 }
 protected new IActionResult Ok()
 {
     _unityOfWork.Commit();
     return(base.Ok(Envelope.Ok()));
 }