public static BindAcoountStoreManagerViewModel GetBindingStoreMamager(string userid) { var sm_repo = new StoreManagerRepository(); var profile = sm_repo.SelectBinding(userid); return(profile); }
public static int GetManagerId(string aspNetUserId) { StoreManagerRepository storeManagerRepo = new StoreManagerRepository(); int managerId = storeManagerRepo.GetMangerIdByAspNetId(aspNetUserId); return(managerId); }
public static int SearchLineID(string lineID) { StoreManagerRepository storeManagerRepo = new StoreManagerRepository(); int storeManagerId = storeManagerRepo.SearchLineID(lineID); return(storeManagerId); }
public static void InsertStoreManager(LineProfile profile) { var sm_repo = new StoreManagerRepository(); sm_repo.Insert(profile); }
public static void UpdateManagerStatus(int StoreManagerID, string status) { StoreManagerRepository storeManagerRepo = new StoreManagerRepository(); storeManagerRepo.UpdateManagerStatus(StoreManagerID, status); }