public async Task <IActionResult> DeleteEmployeePrivilegeAsync(Int32 id)
        {
            var response = new SingleModelResponse <EmployeePrivilegeViewModel>() as ISingleModelResponse <EmployeePrivilegeViewModel>;

            try
            {
                var entity = await Task.Run(() =>
                {
                    return(_RESTfulAPI_Repository.DeleteEmployeePrivilege(id));
                });

                response.Model = entity.ToViewModel();
                response.Info  = "The record was deleted successfully";
            }
            catch (Exception ex)
            {
                response.DidError     = true;
                response.ErrorMessage = ex.Message;
            }

            return(response.ToHttpResponse());
        }