예제 #1
0
 public async Task <HttpResponseMessage> ModifySingle(Accounts Entity)
 {
     try
     {
         return(Request.CreateResponse <bool>(HttpStatusCode.OK, await _repo.ModifySingle(Entity)));
     }
     catch (Exception ex)
     {
         return(Request.CreateErrorResponse(HttpStatusCode.InternalServerError, ex));
     }
 }