public Task CreateEmployeeAsync(Employee employee) { var result = _dbContext.Employees.AddAsync(employee); _dbContext.SaveChanges(); return(result); }
public Task AddOfficeAsync(Office office) { var result = _dbContext.Offices.AddAsync(office); _dbContext.SaveChanges(); return(result); }