Ejemplo n.º 1
0
 public static Restriction ConvertToRestriction(
     this RestrictionView restrictionView)
 {
     return(Mapper.Map <RestrictionView,
                        Restriction>(restrictionView));
 }
 public static DetailRestriction_RestrictionDetailView ConvertToDetailRestriction_RestrictionDetailView(
     this RestrictionView restrictions)
 {
     return(Mapper.Map <RestrictionView,
                        DetailRestriction_RestrictionDetailView>(restrictions));
 }
 public static RestrictionDetailView ConvertToRestrictionDetailView(
     this RestrictionView restriction)
 {
     return(Mapper.Map <RestrictionView,
                        RestrictionDetailView>(restriction));
 }
 public static ModifyRestrictionRequest ConvertToModifyRestrictionRequest(
     this RestrictionView restrictions)
 {
     return(Mapper.Map <RestrictionView,
                        ModifyRestrictionRequest>(restrictions));
 }
 public static RestrictionFlatViewModel ConvertToRestrictionFlatViewModel(
     this RestrictionView restriction)
 {
     return(Mapper.Map <RestrictionView,
                        RestrictionFlatViewModel>(restriction));
 }