Esempio n. 1
0
 // PUT: api/M_Users/5
 public Responses Put(int id, [FromBody] M_UserViewModel entity)
 {
     entity.Id = id;
     return(M_UserRepo.Update(entity));
 }
Esempio n. 2
0
 // POST: api/M_Users
 public Responses Post([FromBody] M_UserViewModel entity)
 {
     return(M_UserRepo.Update(entity));
 }