public async Task <ActionResult> DeleteEmployee(int Id)
        {
            if (ModelState.IsValid)
            {
                try
                {
                    var res = await employeeProvider.DeleteEmployeeAsync(Id);

                    if (res.IsSuccess)
                    {
                        return(Ok(null));
                    }
                    return(NotFound(res.ErrorMessage));
                }
                catch (Exception ex)
                {
                    return(BadRequest());
                }
            }
            return(BadRequest());
        }