public ActionResult <EmployeeModel> Delete(int id)
        {
            if (id <= 0)
            {
                return(BadRequest());
            }

            factoryService.Delete(id);

            return(RedirectToAction("GetAll"));
        }