public static RemixGoContext ApplyUserMocks(this RemixGoContext context) { context.Users.AddRange( new User { Username = "******", Fullname = "fulano de sicrano", Email = "*****@*****.**", Password = "******", }, new User { Username = "******", Fullname = "beltrano de sicrano", Email = "*****@*****.**", Password = "******" } ); context.SaveChanges(); return(context); }
public GenericRepository(RemixGoContext context) { Context = context; }