public static bool UpdateReadingFrequency(ReadFrequencyMaster Frequency) { Boolean flag = false; try { Icontext objinter = new BALReadFrequency(); flag = objinter.UpdateRecord(Frequency); } catch (Exception ex) { throw; } return flag; }
public static ReadFrequencyList ViewReadingFrequency(String FrequencyID) { try { Icontext objinter = new BALReadFrequency(); ReadFrequencyList Frequency = (ReadFrequencyList)objinter.ViewRecord(Convert.ToInt64(FrequencyID)); return Frequency; } catch (Exception ex) { throw; } }
public static IEnumerable<DAL.ReadFrequencyList> ReadingFrequencyList() { try { Icontext objtext = new BALReadFrequency(); IEnumerable<DAL.ReadFrequencyList> listRecord = (IEnumerable<DAL.ReadFrequencyList>)objtext.RecordList(); return listRecord; } catch (Exception ex) { throw; } }