public static Domain.Models.Permission ToModel(this EntityModels.Permission entity)
 {
     return(entity == null ? null : Mapper.Map <Domain.Models.Permission>(entity));
 }
 public static void ToEntity(this Domain.Models.Permission model, EntityModels.Permission entity)
 {
     Mapper.Map(model, entity);
 }