public FieldType GetFieldType(string fieldid)
 {
     return(_fieldrepo.GetFieldTypeFromField(new Field()
     {
         Id = new Guid(fieldid)
     }).FirstOrDefault());
 }