Mohit Kala

Mohit Kala

  • 567
  • 2.1k
  • 135.9k

How to upload image using webapi with class

Mar 23 2018 1:23 AM
This is My Category Class 
public class Category()
{
 public Guid Ctaegiryid{get;set;}
public stringCtaegiryName{get;set;}
public string CategoryImage{get;set;} 
 
 
and My Controller 
public HttpResponseMessage CategoryData([FromBody]Category category) 
{
 
 
but when i debugging file is not getting 

Answers (2)