コード例 #1
0
        public static BindAcoountStoreManagerViewModel GetBindingStoreMamager(string userid)
        {
            var sm_repo = new StoreManagerRepository();
            var profile = sm_repo.SelectBinding(userid);

            return(profile);
        }
コード例 #2
0
        public static int GetManagerId(string aspNetUserId)
        {
            StoreManagerRepository storeManagerRepo = new StoreManagerRepository();
            int managerId = storeManagerRepo.GetMangerIdByAspNetId(aspNetUserId);

            return(managerId);
        }
コード例 #3
0
        public static int SearchLineID(string lineID)
        {
            StoreManagerRepository storeManagerRepo = new StoreManagerRepository();
            int storeManagerId = storeManagerRepo.SearchLineID(lineID);

            return(storeManagerId);
        }
コード例 #4
0
        public static void InsertStoreManager(LineProfile profile)
        {
            var sm_repo = new StoreManagerRepository();

            sm_repo.Insert(profile);
        }
コード例 #5
0
        public static void UpdateManagerStatus(int StoreManagerID, string status)
        {
            StoreManagerRepository storeManagerRepo = new StoreManagerRepository();

            storeManagerRepo.UpdateManagerStatus(StoreManagerID, status);
        }