예제 #1
0
        public async Task <int> AddSchedule(T obj, string user)
        {
            Schedule schedule = _mapper.Map <Schedule>(obj);

            return(await _repository.AddSchedule(schedule, user));
        }