public static IResourceType MapToEntity(this IResourceTypeModel model, int currentDepth = 1) { return(Mapper.MapToEntity(model, currentDepth)); }