public IActionResult ServiceBasedZone(long zoneId) { DAZone dAZone = new DAZone(); return(this.OK <List <ManageZone> >(dAZone.ListServiceBasedZone(zoneId, _context))); }
public IActionResult EditSetprice([FromBody] List <SetPrice> setPrice) { DAZone dAZone = new DAZone(); return(this.OKResponse(dAZone.EditSetprice(setPrice, _context) ? "Update Successfully" : "Updation Failed")); }
public IActionResult ManageOperation() { DAZone dAZone = new DAZone(); return(this.OK <List <OperationZone> >(dAZone.ManageOperation(_context))); }
public IActionResult GetSetprice(long zoneid, long typeid) { DAZone dAZone = new DAZone(); return(this.OK <List <SetPrice> >(dAZone.GetSetprice(zoneid, typeid, _context))); }
public IActionResult DefaultZoneType(long zoneid, long typeid, ZoneTypeRelation zoneTypeRelation) { DAZone dAZone = new DAZone(); return(this.OKResponse(dAZone.IsDefaultZoneType(zoneid, typeid, _context, User.ToAppUser()) ? "Updated Successfully" : "updation Failed")); }
public IActionResult GetZoneTypebyid(long zoneid, long typeid) { DAZone dAZone = new DAZone(); return(this.OK <ZoneTypeRelation>(dAZone.GetZoneTypebyid(zoneid, typeid, _context))); }
public IActionResult ListZoneTypeDrop(long zoneId) { DAZone dAZone = new DAZone(); return(this.OK <List <ZoneTypeDrop> >(dAZone.ZoneType(zoneId, _context))); }
public IActionResult ActiveZone(long zoneid, bool isStatus) { DAZone dAZone = new DAZone(); return(this.OKResponse(dAZone.ActiveZone(zoneid, isStatus, _context, User.ToAppUser()) == true ? (isStatus == true ? "Active Successfully" : "Blocked Successfully") : "Failed to Update")); }