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