public int UpdateUser(RegistUserParam _param)
 {
     try
     {
         return((int)Mapper.Instance().Update(MethodBase.GetCurrentMethod().Name, _param));
     }
     catch (Exception)
     {
         throw;
     }
 }
 public int AddUser(RegistUserParam _param)
 {
     try
     {
         var test = Mapper.Instance().Insert(MethodBase.GetCurrentMethod().Name, _param);
         return((int)test);
     }
     catch (Exception)
     {
         throw;
     }
 }
        public int AddUser(UsersRegisterModel _param)
        {
            // DB検索用パラメータークラス用意
            RegistUserParam registUserParam = new RegistUserParam();

            registUserParam.UserId    = _param.UserId;
            registUserParam.UserPass  = _param.UserPass;
            registUserParam.StaffKbn  = _param.StaffKbn;
            registUserParam.StoreCode = _param.StoreCode;

            // DB検索実施
            IUsersRepository authenticationRepository = new UsersRepositoryImpl();
            var result = authenticationRepository.AddUser(registUserParam);

            return(result);
        }