public List<MitchellClaim> GetClaimsInDates(string start, string end) { dal = new DAL(connString); DateTime startDate = DateTime.ParseExact(start, "yyyyMMddTHHmmss", CultureInfo.InvariantCulture); DateTime endDate = DateTime.ParseExact(end, "yyyyMMddTHHmmss", CultureInfo.InvariantCulture); return dal.DBGetClaimsInDates(startDate, endDate); }
public MitchellClaim GetClaimByID(string id) { dal = new DAL(connString); // For string return type //JavaScriptSerializer serializer = new JavaScriptSerializer(); //return serializer.Serialize(dal.GetClaim(id)); return dal.DBGetClaimByID(id); }
public void DeleteAllClaims() { dal = new DAL(connString); dal.DBDeleteAllClaims(); }
public void DeleteClaim(string id) { dal = new DAL(connString); dal.DBDeleteClaim(id); }
public void CreateClaim(MitchellClaim cla) { dal = new DAL(connString); dal.DBCreateClaim(cla); }
public List<MitchellClaim> GetAllClaims() { dal = new DAL(connString); return dal.DBGetAllClaims(); }