public VisitersDTO Login([FromBody] LoginVisiters loginEmployee) { if (loginEmployee.Password == null) { return(null); } return(VisitersBL.Login(loginEmployee.Username, loginEmployee.Password)); }
public VisitersDTO SignUp([FromBody] SignUpVisiters signUpVisiters) { return(VisitersBL.SignUp(signUpVisiters.FirstName, signUpVisiters.LastName, signUpVisiters.Mail, signUpVisiters.NameUser, signUpVisiters.Password)); }
public bool AddDose([FromBody] InventDoseDTO InventDose) { return(VisitersBL.AddDose(InventDose)); }
public VisitersDTO Get(int id) { return(VisitersBL.GetById(id)); }