[ProducesResponseType(StatusCodes.Status500InternalServerError)] // if something unexpectedly went wrong with the database or http request/response
        public async Task <IActionResult> PutEmployee(int id, Furs2Feathers.Domain.Models.Employee employee)
        {
            if (id != employee.EmpId)
            {
                return(BadRequest());
            }

            /*_context.Entry(employee).State = EntityState.Modified;*/
            if (!await employeeRepo.ModifyStateAsync(employee, id))
            {
                return(NotFound());
                // if false, then modifying state failed
            }
            else
            {
                return(NoContent());
                // successful put
            }
        }
        [ProducesResponseType(StatusCodes.Status500InternalServerError)]                                   // if something unexpectedly went wrong with the database or http request/response
        public async Task <ActionResult <Furs2Feathers.Domain.Models.Employee> > PostEmployee(Furs2Feathers.Domain.Models.Employee employee)
        {
            employeeRepo.Add(employee);
            await employeeRepo.SaveChangesAsync();

            return(CreatedAtAction("GetEmployee", new { id = employee.EmpId }, employee));
        }