public IHttpActionResult Save(DC_NoteModel request) { request.OrgId = SecurityHelper.CurrentPrincipal.OrgId; var response = service.SaveNote(request, null); return(Ok(response)); }
public BaseResponse <DC_NoteModel> SaveNote(DC_NoteModel request, List <string> fields) { return(base.Save <DC_NOTE, DC_NoteModel>(request, (q) => q.NOTEID == request.NoteId, fields)); }