public List <FieldType> GetAllFieldTypes()
 {
     return(_fieldrepo.GetAllFieldTypes());
 }