internal List <StaffEntity> GetStaffByUserIDEntities(Guid UserID, string LanguageCode = null) { try { StaffDal objDAL = new StaffDal(); DataSet dsFields = objDAL.GetByUserID(UserID, LanguageCode); return(MappingManager.MapStaffAsListOfEntities(dsFields)); } catch (Exception ex) { throw new Exception(ex.Message); } }