예제 #1
0
        public List <Gender> GetAllGender(out int totalrecords, Gender model)
        {
            List <Gender> genders;

            try
            {
                genders = _genderRepository.GetAllGender(out totalrecords, model);
            }
            catch (Exception exception)
            {
                throw new Exception(exception.Message);
            }
            return(genders);
        }