Commit 4381fa38 authored by Mahmoud Bakhtvar's avatar Mahmoud Bakhtvar
parents 25fa9324 5747d27c
...@@ -20,29 +20,6 @@ namespace SendFileWebapi.Controllers ...@@ -20,29 +20,6 @@ namespace SendFileWebapi.Controllers
public class SCUController : ControllerBase public class SCUController : ControllerBase
{ {
//[HttpPost]
//public async Task<ActionResult> Post([FromForm]StudentModel std)
//{
//// Getting Name
//string name = std.Name;
//foreach (var img in std.Images)
//{
// // Getting Image
// if (img.Length > 0)
// {
// using (var fileStream = new FileStream(img.FileName, FileMode.Create))
// {
// img.CopyTo(fileStream);
// var tt = fileStream;
// }
// }
//}
//return Ok(new { status = true, message = "Student Posted Successfully" });
//}
static Logger logger = LogManager.GetCurrentClassLogger(); static Logger logger = LogManager.GetCurrentClassLogger();
[HttpPost] [HttpPost]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment