예제 #1
0
        public void TestCreatUser()
        {
            Person person = new Person();

            person.Name     = "Rodrigo";
            person.LastName = "Siles Mayorga";
            person.Gender   = GenderBrl.Get(1, container);
            //person.Birthday = DateTime.Now;
            //PersonBrl.Insertar(person, container);
        }
예제 #2
0
 public List <GenderDto> GetAll()
 {
     try
     {
         return(GenderBrl.GetAll(dbcontex));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
예제 #3
0
        public GenderDto Get(int id)
        {
            GenderDto genderDto = null;

            try
            {
                genderDto = GenderBrl.GetDto(1, dbcontex);
            }
            catch (Exception ex)
            {
                throw ex;
            }

            return(genderDto);
        }
예제 #4
0
 public void TestGettGender()
 {
     Gender actual = GenderBrl.Get(1, container);
 }