public ResponseDTO <int> Add(UserRequestDTO entity) { ResponseDTO <int> response = new ResponseDTO <int>(); response.Success = true; database = DatabaseFactory.CreateDataBase(databaseType, "[USER].[USP_ADD_USER]", entity.User.IdCompany, entity.User.UserName, entity.User.Password, entity.Info.Name, entity.Info.LastName, entity.Info.Telephone, entity.Info.HasTelephone); response = CommonMapper.MapperId(database.DataReader); database.Connection.Close(); return(response); }