public IActionResult Insert([FromBody] VanderInsertDTO DTO)
        {
            var result = VanderService.Insert(DTO);

            if (result == true)
            {
                return(Ok());
            }
            else
            {
                throw new Exception();
            }
        }
Ejemplo n.º 2
0
 public async Task <IActionResult> Insert(AddVendorListDTO DTO)
 {
     return(Ok(await _VanderService.Insert(DTO)));
 }