Example #1
0
        public async Task <IResultModel> EducationAdd(EmployeeEducationAddModel model)
        {
            var entity = _mapper.Map <EmployeeEducationEntity>(model);
            var result = await _educationRepository.AddAsync(entity);

            return(ResultModel.Result(result));
        }
Example #2
0
 public Task <IResultModel> EducationAdd(EmployeeEducationAddModel model)
 {
     return(_service.EducationAdd(model));
 }