Exemplo n.º 1
0
        public LoginTrackerModel CreateLogin(LoginTrackerModel model)
        {
            using (IDbConnection connection = new System.Data.SqlClient.SqlConnection(GlobalConfig.CnnString("CarnivoreSteak")))
            {
                var p = new DynamicParameters();
                p.Add("@servername", model.servername);

                connection.Execute("dbo.spLogin_Insert", p, commandType: CommandType.StoredProcedure);

                return(model);
            }
        }
Exemplo n.º 2
0
        // private const string DiscountFile = "OrdersModel.csv";


        public LoginTrackerModel CreateLogin(LoginTrackerModel model)
        {
            throw new NotImplementedException();
        }