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