//validation annotation goes here //transaction annotation goes here public void AddLogin(Login login) { _loginRepository.Create(login); }
//validation annotation goes here //transaction annotation goes here public void Deactivate(Login login) { login.Active = false; _loginRepository.Update(login); }
//validation annotation goes here //transaction annotation goes here public void Activate(Login login) { login.Active = true; _loginRepository.Update(login); }