예제 #1
0
        public async Task <OfficeModel> GetByContentIdAsync(Guid contentId)
        {
            var entity = await _repository.GetByContentIdAsync(contentId);

            var officeModel = _mapper.Map <OfficeModel>(entity);

            return(officeModel);
        }