Beispiel #1
0
        public virtual IActionResult Post([FromBody] T template)
        {
            var procName = $"Proc_Insert{_className}";
            int result   = _databaseConnector.Change(procName, template);

            return(Ok(new ServiceResult()
            {
                Data = result,
                Message = Properties.Resources.Success,
                Code = Enum.ResultCode.Success
            }));
        }