public async Task <IHttpActionResult> count(char type)
 {
     return(Ok(await customerService.CountAsync(type)));
 }