Example #1
0
 public IEnumerable <Agent> GetAll()
 {
     return(BaseDao.GetAll <Agent>("Select * from Agent"));
 }
Example #2
0
 public void Add(Agent agent)
 {
     BaseDao.Add("AddAgent", agent);
 }
Example #3
0
 public void DeleteById(int id)
 {
     BaseDao.DeleteById("DeleteAgent", id);
 }
Example #4
0
 public void DeleteById(int id)
 {
     BaseDao.DeleteById("DeleteStreet", id);
 }
Example #5
0
 public IEnumerable <Street> GetAll()
 {
     return(BaseDao.GetAll <Street>("Select * from Street"));
 }
Example #6
0
 public IEnumerable <Buy> GetAll()
 {
     return(BaseDao.GetAll <Buy>("Select * from Buy"));
 }
Example #7
0
 public void Add(Street street)
 {
     BaseDao.Add("AddStreet", street);
 }
Example #8
0
 public void DeleteById(int id)
 {
     BaseDao.DeleteById("DeleteBuy", id);
 }
Example #9
0
 public void Add(Buy buy)
 {
     BaseDao.Add("AddBuy", buy);
 }
Example #10
0
 public IEnumerable <Area> GetAll()
 {
     return(BaseDao.GetAll <Area>("Select * from Area"));
 }
Example #11
0
 public void Add(Area area)
 {
     BaseDao.Add("AddArea", area);
 }
Example #12
0
 public void Add(Client client)
 {
     BaseDao.Add("AddClient", client);
 }