Exemplo n.º 1
0
        public static BarberLicensee GetBarberLicensee(IRaptorContext context)
        {
            var barberLicensee = context.BarberLicensees.Add(new BarberLicensee());

            context.SaveChanges();
            return(barberLicensee);
        }
Exemplo n.º 2
0
        public static StylistLicensee GetStylistLicensee(IRaptorContext context)
        {
            var stylistLicensee = context.StylistLicensees.Add(new StylistLicensee());

            context.SaveChanges();
            return(stylistLicensee);
        }
Exemplo n.º 3
0
 public StylistLicenseeDataService(IRaptorContext context)
     : base(context.StylistLicensees)
 {
 }
Exemplo n.º 4
0
 public BarberLicenseeDataService(IRaptorContext context)
     : base(context.BarberLicensees)
 {
 }