public Gradovi Update(int id, GradoviInsertUpdate obj) { gradoviAutorizator.AuthorizeUpdate(usersService.GetRequestUserName(HttpContext.Request)); return(gradoviService.Update(id, obj)); }
public Model.Gradovi Update(int id, [FromBody] Model.Requests.GradoviInsertRequest request) { return(_service.Update(id, request)); }