public dotSettingsModel(SingletonUser s, IDotService d, IRideService r, IUserService u) { User = s; dService = d; rService = r; uService = u; }
//[BindProperty] //public List<Dot> Dots { get; set; } public MapViewModel(SingletonUser s, IDotService d, JsonDotService j) { User = s; dService = d; //Dots = d.GetAllDots(); jSon = j; jSon.UpdateJson(); }
public JsonDotService(IDotService d) { database = d; UpdateJson(); }