public bool Update([FromBody] DOCUS_SUB_LOOKUP_STATUS statusData) { bool result = true; try { _repoObj.Update(statusData); } catch { result = false; } return(result); }
public void Update(DOCUS_SUB_LOOKUP_STATUS assignmentStatus) { _context.Entry(assignmentStatus).State = EntityState.Modified; _context.SaveChanges(); }
public void Inset([FromBody] DOCUS_SUB_LOOKUP_STATUS statusData) { _repoObj.Insert(statusData); }
public void Insert(DOCUS_SUB_LOOKUP_STATUS assignmentStatus) { _context.DOCUS_SUB_LOOKUP_STATUS.Add(assignmentStatus); _context.SaveChanges(); }