Beispiel #1
0
        public virtual Result <TModel> GetById(int id)
        {
            var result = ModelMapper.MapSingle <TEntity, TModel>(Repository.GetById(id));

            return(Result <TModel> .ErrorWhenNoData(result));
        }