// get designation public List <Designation> GetDesignations() { if (userGateway.IsAnyUsersExists()) { return(designationGateway.GetAllDesignationsWithoutAdmin()); } else { return(designationGateway.GetDesignations()); } }
// get designation public List <Designation> GetDesignations() { if (userGateway.IsAnyUsersExists()) { return(designationGateway.GetAllDesignationsWithoutAdmin()); } else { return(designationGateway.GetDesignations()); } }