public string DeleteTodayTransaction(string Id, string Type) { if (Convert.ToInt32(Id) > 0 && Type != "") { objDal.DeleteTodayTransaction(Convert.ToInt32(Id), Type); return(Type + " deleted successfully."); } else { return("Not Deleted"); } }
public string DeleteTodayTransaction(string Id, string Type) { if (Convert.ToInt32(Id) > 0 && Type != "") { objDal.DeleteTodayTransaction(Convert.ToInt32(Id), Type); return(Type + " deleted successfully."); } else { return("Not Deleted"); } }