public bool PigDataDel(string pigNumber) { if (Session["CheckFeed"] == null || !(bool) Session["DelPigData"] || !(bool) Session["CheckPigData"]) { return false; } var pigService = new PigService(); return pigService.DelPig(pigNumber); }
public bool PigDataDel(string pigNumber) { if (Session["CheckFeed"] == null || !(bool) Session["DelPigData"] || !(bool) Session["CheckPigData"]) { return false; } var pigService = new PigService(); return pigService.DelPig(pigNumber); }