public EspecialistaModel(int codigo, int?enderecoCodigo, string nome, string sobrenome, string cpf, string crm, string telefone, string email, string senha, DateTime?dataNascimento) { this.Codigo = codigo; this.EnderecoCodigo = enderecoCodigo; this.Nome = nome; this.Sobrenome = sobrenome; this.Cpf = cpf; this.Crm = crm; this.Telefone = telefone; this.Email = email; this.Senha = senha; this.DataNascimento = dataNascimento; this.repositorio = new EspecialistaRepositorio(); base.repositorio = this.repositorio; }
public EspecialistaModel() { this.repositorio = new EspecialistaRepositorio(); base.repositorio = this.repositorio; }