using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Domain;

namespace Service.Implement
{
	public class SysActiveUserManager : GenericManagerBase<SysActiveUser>, ISysActiveUserManager
	{
		public SysActiveUser Get(string account, string loginIp)
		{
			return CurrentRepository.LoadAll().Where(r => r.Account == account && r.LoginIP == loginIp).FirstOrDefault();
		}
	}
}
