public async Task <string> getvehichleData(string vId, string sId) { var adminData = await context.retrieveAll(vId, sId); if (adminData == null) { return(null); } return(JsonConvert.SerializeObject(adminData)); }
public async Task <string> getAllVehiclesData(string societyId) { var VehicleData = await context.retrieveAll(societyId); return(JsonConvert.SerializeObject(VehicleData)); }