public IEnumerable <Plant> Get(string loginId) { Member member = MembershipService.GetUserByUserName(loginId).MemberDetail; string pernr = member.Empno; var result = PlantService.GetAllPlant(loginId, pernr); return(result); }