public ResponseObject <Company> GetCompanyDetails(int companyId) { return(response .Make(() => dbContext .GetCompanyDetails(companyId) .ToCompanyViewModel())); }
public ResponseObject <User> Save([FromBody] User user) { return(response.Make(() => SaveUser(user))); }
public ResponseObject <IEnumerable <State> > GetList() { return(response.Make(() => dbContext.GetStates())); }