public int Create(Employee emp)
        {
            // Business rules & validations here
            if (string.IsNullOrEmpty(emp.Id) || string.IsNullOrEmpty(emp.Name))
            {
                return(-1);
            }

            if (emp.Address == "Ramallah" && emp.DepartmentId == "1")
            {
                emp.Type = "Permenant";
            }
            else
            {
                emp.Type = "Contract";
            }


            // To the operations
            var insertResult = _empOps.Insert(emp);

            // Return the result
            return(insertResult);
        }