public RoleVO GetRoleById(int id) { RoleVO model = new RoleVO(); try { using (var ctx = new RoleContext()) { IRoleDA da = new RoleDA(); model = da.FindRoleById(ctx, id); } }catch { throw; } return(model); }