second commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
|
||||
import '../../../../Helper/Constants/Apiconstants.dart';
|
||||
import '../../../../Model/Request/Location/Updatelocation/Updatelocationrequest.dart';
|
||||
import '../../../../Model/Response/Location/Updatelocation/Updatelocationresponse.dart';
|
||||
import '../../../Provider/Location/Updatelocation/Updatelocationprovider.dart';
|
||||
|
||||
class UpdateLocationRepository{
|
||||
|
||||
UpdateLocationProvider updateLocationProvider =UpdateLocationProvider();
|
||||
|
||||
Future<UpdateLocationResponse?>updateLocation(UpdateLocation data) async {
|
||||
var result = await updateLocationProvider.updateLocation(data,ApiConstants.updateLocation);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user