Example #1
0
        public async Task <bool> CallNumber(CounterCuteGirl counterCuteGirl, int TakeId)
        {
            if (counterCuteGirl != null)
            {
                var model = await _BusinessManRepository.GetModelAsync(u => u.Id == TakeId);

                model.Istrue = true;
                int count = await _BusinessManRepository.Modify(model);

                if (count > 0)
                {
                    return(true);
                }
            }
            return(false);
        }
Example #2
0
 public async Task <int> Modify(BusinessMan businessMan)
 {
     return(await _BusinessRepository.Modify(businessMan));
 }