Example #1
0
        public Memos NewMemos(Request_Memos model)
        {
            DynamicParameters p = new DynamicParameters();

            p.Add("@content", model.content);
            var modedDes = SqlMapper.Query <Memos>(con, "new_memos", param: p, commandType: CommandType.StoredProcedure).First();

            return(modedDes);
        }
 public Memos NewMemos([FromBody] Request_Memos model)
 {
     return(this.ser.NewMemos(model));
 }
Example #3
0
 public Memos NewMemos(Request_Memos model)
 {
     return(this.repo.NewMemos(model));
 }