public PackageService(BarkOnDbContext context) { userid = Helper.GetUserId(new HttpContextAccessor()); this.context = context; }
public CustomerService(BarkOnDbContext context, UserManager <User> userManager) { userid = Helper.GetUserId(new HttpContextAccessor()); this.context = context; this.userManager = userManager; }