public List <BookTypeEntity> GetBookTypeList() { try { var query = type.IQueryable(); return(query.ToList()); } catch (Exception ex) { throw; } }