예제 #1
0
 public bool AdminRegistration(AdminRegisterationDTO data)
 {
     return(UjewelriesService.CreateCustomer(Int32.Parse(data.id),
                                             data.name, data.password,
                                             bool.Parse(data.Admin)));
 }
예제 #2
0
 public bool Registration(RegistrationDto data)
 {
     return(UjewelriesService.CreateCustomer(Int32.Parse(data.id), data.name, data.password));
 }