public Contracts.Feature UpdateFeature(Contracts.Feature feature) { Model.Feature efFeature = _mapper.Map <Contracts.Feature, Model.Feature>(feature); _featureRepository.UpdateFeature(efFeature); return(feature); }
public Contracts.Feature CreateFeature(Contracts.Feature feature) { Model.Feature efFeature = _mapper.Map <Contracts.Feature, Model.Feature>(feature); efFeature = _featureRepository.CreateFeature(efFeature); return(_mapper.Map <Model.Feature, Contracts.Feature>(efFeature)); }