Пример #1
0
        public List <WalkInInfo> GetWalkInInfos()
        {
            var getwinfosquery = new queries().getwinfos();

            return(MySqlEvents.executeselect <List <WalkInInfo> >(getwinfosquery));
        }
Пример #2
0
        private int savewalkininfo(WalkInInfo winfo)
        {
            var savewinfo = new queries().savewinfo(winfo);

            return(MySqlEvents.executeinsert(savewinfo));
        }
Пример #3
0
        private int updateviews(int wid)
        {
            var savecinfo = new queries().updateviews(wid);

            return(MySqlEvents.executeinsert(savecinfo));
        }
Пример #4
0
        private int savecompanyinfo(CompanyInfo cinfo)
        {
            var savecinfo = new queries().savecinfo(cinfo);

            return(MySqlEvents.executeinsert(savecinfo));
        }
Пример #5
0
        private int savelocation(Location loc)
        {
            var saveloc = new queries().savelinfo(loc);

            return(MySqlEvents.executeinsert(saveloc));
        }
Пример #6
0
        public WalkInInfo GetWalkInInfo(int id)
        {
            var getwinfoquery = new queries().getwinfo(id);

            return(MySqlEvents.executeselect <WalkInInfo>(getwinfoquery));
        }