public StaffPatientModel GetStaffAndPatientByLocation(string locationIds, string permissionKey, string isActiveCheckRequired, TokenModel token)
 {
     SqlParameter[] parameters = { new SqlParameter("@LocationIds",           locationIds),
                                   new SqlParameter("@OrganizationId",        token.OrganizationID),
                                   new SqlParameter("@LoginUserId",           token.StaffID), //pass staff id
                                   new SqlParameter("@PermissionKey",         permissionKey),
                                   new SqlParameter("@IsActiveCheckRequired", isActiveCheckRequired), };
     return(_context.ExecStoredProcedureForStaffPatientLocation("APT_GetStaffAndPatientByLocation", parameters.Length, parameters));
 }